package com.neu.entity;

public class Rule {
	//排班id
	private Integer ID;
	//规则名称
	private String RuleName;
	//科室ID
	private Integer DeptID;
	//医生ID
	private Integer UserID;
	/*星期14位1和0 组成的字符串，1代表有班 0代表无班 14位字符串从左到右依次表示表示星期1-星期日，
	 * 每天两位表示上下午
	 */	
	private String Week;
	
	private Integer DelMark;

	public Integer getID() {
		return ID;
	}

	public void setID(Integer iD) {
		ID = iD;
	}

	public String getRuleName() {
		return RuleName;
	}

	public void setRuleName(String ruleName) {
		RuleName = ruleName;
	}

	public Integer getDeptID() {
		return DeptID;
	}

	public void setDeptID(Integer deptID) {
		DeptID = deptID;
	}

	public Integer getUserID() {
		return UserID;
	}

	public void setUserID(Integer userID) {
		UserID = userID;
	}

	public String getWeek() {
		return Week;
	}

	public void setWeek(String week) {
		Week = week;
	}

	public Integer getDelMark() {
		return DelMark;
	}

	public void setDelMark(Integer delMark) {
		DelMark = delMark;
	}

	public Rule(Integer iD, String ruleName, Integer deptID, Integer userID, String week, Integer delMark) {
		super();
		ID = iD;
		RuleName = ruleName;
		DeptID = deptID;
		UserID = userID;
		Week = week;
		DelMark = delMark;
	}

	public Rule() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "Rule [ID=" + ID + ", RuleName=" + RuleName + ", DeptID=" + DeptID + ", UserID=" + UserID + ", Week="
				+ Week + ", DelMark=" + DelMark + "]";
	}
	
}
